package cn.edu.ecnu.gis.client.alert;

import cn.edu.ecnu.gis.client.alert.model.Contact;
import cn.edu.ecnu.gis.client.alert.model.Message;
import java.util.ArrayList;

import com.google.gwt.user.client.rpc.RemoteService;


public interface MessengerService extends RemoteService
{
	void signIn( String name );
	void signOut();
	/**
	 * @gwt.typeArgs <com.gwtapps.messenger.client.Event>
	 */
	ArrayList getEvents();
	void sendMessage( Contact to, Message message );
}
